<%@ Page language="c#" Codebehind="ManageRest.aspx.cs" AutoEventWireup="false" Inherits="CommunityServer.ControlPanel.Tools.ManageRest" MasterPageFile="~/ControlPanel/Masters/SetupAdmin.master" %>

<asp:Content ContentPlaceHolderId="DescriptionRegion" runat="server">
	<cp:resourcecontrol id="RegionTitle" runat="Server" resourcename="CP_Rest" />
</asp:Content>

<asp:Content ContentPlaceHolderId="TaskRegion" runat="Server">
    <CP:ControlPanelSelectedNavigation runat="server" SelectedNavItem="ManageRest" />
		<div class="CommonDescription">
			<cp:resourcecontrol runat="Server" resourcename="CP_Rest_SubTitle" /><br />
		</div>
	<CP:FileOnlyStatusMessage id="FOStatus" runat="server" visible="false" />
	<asp:PlaceHolder id="OptionHolder" runat="Server">
		<CP:ConfigOKStatusMessage id="Status" runat="server" visible="false" />
	<div class="FixedWidthContainer">
		<table cellpadding="0" cellspacing="0" border="0" width="60%">
		<tr>
		<td class="CommonFormFieldName">
			<strong><cp:resourcecontrol runat="Server" resourcename="CP_Rest_Enable" /></strong><br />
			<cp:resourcecontrol runat="Server" resourcename="CP_Rest_Enable_Help" />
		</td>
		<td class="CommonFormField">
			<asp:checkbox id="enableRest" runat="Server" cssclass="ControlPanelTextInput" />
		</td>
		</tr>
		
		<tr>
		<td colspan="2">
		    <div class="CommonFormFieldName">
			    <strong><cp:resourcecontrol runat="Server" resourcename="CP_Rest_Roles" /></strong><br />
			    <cp:resourcecontrol runat="Server" resourcename="CP_Rest_Roles_Help" />
            </div>
            <div class="CommonFormField">
			    <asp:checkboxlist id="rolelist" runat="Server" cssclass="ControlPanelTextInput" TextAlign="Right" RepeatLayout="Table" RepeatDirection="Vertical" RepeatColumns="2" CellSpacing="3" CellPadding="3" />
		    </div>
		</td>
		</tr>
		</table>
		</div>
		<p class="PanelSaveButton DetailsFixedWidth">
			<cp:ResourceLinkButton id="SaveButton" runat="Server" CssClass="CommonTextButton" ResourceName="Save" />
		</p>
	</asp:PlaceHolder>
</asp:Content>